package com.g8.pethospitallearnbackend.service;

import com.g8.pethospitallearnbackend.entity.Exam;
import com.g8.pethospitallearnbackend.entity.ExamStuQues;
import com.g8.pethospitallearnbackend.entity.ExamStuSubmit;
import com.g8.pethospitallearnbackend.entity.UsersExam;

import java.time.LocalDateTime;
import java.util.List;

public interface ExamService {
    List<Exam> getAllExam();
    Exam getExamById(String examId);
    List<Exam> searchExam(String searchExam);
    Exam addExam(Exam exam);
    String sendEmail(String email, String exam, LocalDateTime ddl, String name);
    Exam changeExam(Exam exam);
    String deleteExam(String examid);
    List<Exam> userExam1(String userId);
    List<Exam> userExam0(String userId);
    List<ExamStuQues> submitExam(ExamStuSubmit examStuSubmit);
    UsersExam userExam(String userId, String examId);
}
